package com.sys.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

/*
 *   @author:汪思超
 *   @Pojo:用户实体
 *   @data:2021.3.13
 * 
 * */

@Getter
@Setter
@Entity
@Table(name="order_user")
public class OrderUser implements Serializable {

	/**
	 * 序列化。
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 * */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	private Integer id;
	
	/**
	 * 用户名
	 * */
	@Column(name="uname")
	private String username;
	
	/**
	 * 用户密码
	 * */
	@Column(name="passwords")
	private String passwords;
	
	/**
	 * 用户邮箱
	 * */
	@Column(name="email")
	private String email;
	
	/**
	 * 用户状态 0 冻结 1 启用
	 * */
	@Column(name="state")
	private String state;
	
}
